Skip to contentSkip to conversation

HDMI output (DisplayPort-0) stops listing modes after using docking station DP output

Bug 109340 [email protected] 1 participant 8 messages Jan 13, 2019 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109340

Bug ID: 109340
Summary: HDMI output (DisplayPort-0) stops listing modes after
using docking station DP output
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 143092
--> https://bugs.freedesktop.org/attachment.cgi?id=143092&action=edit
dmesg

I use following setup:
1) HP EliteBook 745 G5 with Ryzen 5 PRO 2500U
2) Docking station HP HSTNN-I11X
3) Monitor BenQ GW2260 (HDMI and no DisplayPort)
4) openSUSE Tumbleweed
5) Self compiled kernel 4.20-rc3 from amd-staging-drm-next with patches:
drm/amd/display: Include names of all PP clock types x86/MCE/AMD: Fix the thresholding machinery initialization order

My problem is that I can't use notebook's HDMI port (visible as DisplayPort-0) after using DisplayPort output of docking station. HDMI detects monitor & gets EDID but xrandr doesn't list any modes.

After booting without docking station & connecting monitor using HDMI port:
DisplayPort-0 connected (normal left inverted right x axis y axis)

   1920x1080     60.00 +  50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      60.00  
   1280x800      59.91  
   1280x720      60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94

After connecting docking station & monitor using DP port + HDMI adapter:
[drm] DM_MST: starting TM on aconnector: 00000000651bd996 [id: 57] [drm] DM_MST: added connector: 00000000e1b7686d [id: 90] [master:
00000000651bd996]
[drm] DM_MST: added connector: 0000000078869ed2 [id: 94] [master:
00000000651bd996]
[drm] DM_MST: added connector: 00000000af4e5879 [id: 98] [master:
00000000651bd996]
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
[drm] amdgpu_dm_irq_schedule_work FAILED src 8

After disconnecting monitor & docking station:
[drm] DM_MST: stopping TM on aconnector: 00000000651bd996 [id: 57] [drm] DM_MST: Disabling connector: 00000000e1b7686d [id: 90] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 0000000078869ed2 [id: 94] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 00000000af4e5879 [id: 98] [master:
00000000651bd996]

After connecting monitor using HDMI port:
xrandr: Output DisplayPort-0 is not disconnected but has no modes (...)
DisplayPort-0 connected (normal left inverted right x axis y axis)

It's a bit weird since HDMI port (DisplayPort-0) seems to detect monitor being connected & can get EDID. Is there some bug with enumerating available models caused by DM_MST / TM?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109340

--- Comment #1 from Rafał Miłecki <[email protected]> --- Created attachment 143093
--> https://bugs.freedesktop.org/attachment.cgi?id=143093&action=edit
Detailed logs of all connecting/disconnecting operations

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109340

--- Comment #2 from Rafał Miłecki <[email protected]> --- I've noticed that:

1) After connecting monitor to the docking station's DP output following outputs appear: DisplayPort-3, DisplayPort-4 and DisplayPort-5.
2) After disconnecting monitor from docking stating I can see:
[drm] DM_MST: stopping TM on aconnector: 00000000651bd996 [id: 57] [drm] DM_MST: Disabling connector: 00000000e1b7686d [id: 90] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 0000000078869ed2 [id: 94] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 00000000af4e5879 [id: 98] [master:
00000000651bd996]
3) After disconnecting whole docking station I can still see DisplayPort-3, DisplayPort-4 and DisplayPort-5 in the "xrandr" output.

Is that expected? Is that a possible hint for some problem with output management that also causes the original problem?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109340

--- Comment #3 from Rafał Miłecki <[email protected]> ---
This problem also occurs when using drm/drm branch drm-next (5.0.0-rc1) with:
[PATCH v7 00/20] MST refcounting/atomic helpers cleanup
on top of it.

The only difference I've noticed is xrandr complaining about MIT-MAGIC-COOKIE-1:

Quoted 1 line

xrandr

Invalid MIT-MAGIC-COOKIE-1 keyxrandr: Output DisplayPort-0 is not disconnected but has no modes
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm

   1920x1080     60.02*+  40.00  
   1680x1050     60.02  
   1280x1024     60.02  
   1440x900      60.02  
   1280x800      60.02  
   1280x720      60.02  
   1024x768      60.02  
   800x600       60.02  
   640x480       60.02  

DisplayPort-0 connected (normal left inverted right x axis y axis) DisplayPort-1 disconnected (normal left inverted right x axis y axis) DisplayPort-2 disconnected (normal left inverted right x axis y axis) DisplayPort-3 disconnected (normal left inverted right x axis y axis) DisplayPort-4 disconnected (normal left inverted right x axis y axis) DisplayPort-5 disconnected (normal left inverted right x axis y axis)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109340

--- Comment #4 from Michel Dänzer <[email protected]> --- Please attach the corresponding Xorg log file, preferably captured after reproducing the problem.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109340

--- Comment #5 from Rafał Miłecki <[email protected]> --- Created attachment 143103
--> https://bugs.freedesktop.org/attachment.cgi?id=143103&action=edit
Xorg.0.log

I'm attaching Xorg.0.log at requested with my actions commented properly

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109340

--- Comment #6 from Rafał Miłecki <[email protected]> --- Created attachment 143104
--> https://bugs.freedesktop.org/attachment.cgi?id=143104&action=edit
Xorg.0.log using xf86-video-modesetting

Michel has suggested trying xf86-video-modesetting. A difference from user perspective is minimal.

1) With both drivers I can use HDMI output port just fine after booting (without a docking station)

2) After that I connect docking station, connect DP, disconnect DP, disconnect docking station

3) Finally I try connecting monitor to the HDMI output again:
a) With xorg-xf86-video-amdgpu I get "Output DisplayPort-0 is not disconnected but has no modes"
b) With xf86-video-modesetting I get "xrandr: Configure crtc 1 failed"

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109340

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #7 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/669.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel